package cn.elwy.rcp.core.model.ui.tree;

public class RootNode extends TreeElement {

  private static final long serialVersionUID = 1L;

  public RootNode(Object data) {
    super(null, data);
  }

  public RootNode(ITreeNode parent, Object data) {
    super(parent, data, false);
  }

  public RootNode(ITreeNode parent, Object data, boolean autoLoad) {
    super(parent, data, false);
  }

  public RootNode(TreeElement parent, String name) {
    super(parent, name);
  }

  @Override
  public void loadChildren() {
  }

  @Override
  public void init() {
    isLeafNode = true;
    images = new String[] { "/tree/root.gif" };
  }

}
